package com.atguigu.gulimall.product.entity;

import com.atguigu.common.validator.customValidAnnotation.ValidValue;
import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;

@ToString
@Data
@ConfigurationProperties(prefix = "cat")
public class Cat {
    private String name;
    private Integer age;

}
